package top.itmeans.yes.portal.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Yiming.Cao
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "jwt")
@Configuration
public class JwtConfig {
    private String tokenHeader = "";
    private String secret = "";
    private Long expiration = 604800L;
    private String tokenHead = "Bearer";
}
